<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Zeebe C# Client: Zeebe.Client.Api.Worker.IJobWorkerBuilderStep3 Interface Reference</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../resize.js"></script>
<script type="text/javascript" src="../../navtreedata.js"></script>
<script type="text/javascript" src="../../navtree.js"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Zeebe C# Client
   &#160;<span id="projectnumber">0.15.0</span>
   </div>
   <div id="projectbrief">C# Client to communicate with an Zeebe Gateway</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('../../',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('d2/d59/interfaceZeebe_1_1Client_1_1Api_1_1Worker_1_1IJobWorkerBuilderStep3.html','../../'); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="../../d9/ddf/interfaceZeebe_1_1Client_1_1Api_1_1Worker_1_1IJobWorkerBuilderStep3-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">Zeebe.Client.Api.Worker.IJobWorkerBuilderStep3 Interface Reference</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ae13a82bafc0d7c1ffe5b9b9273106843"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d2/d59/interfaceZeebe_1_1Client_1_1Api_1_1Worker_1_1IJobWorkerBuilderStep3.html">IJobWorkerBuilderStep3</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d59/interfaceZeebe_1_1Client_1_1Api_1_1Worker_1_1IJobWorkerBuilderStep3.html#ae13a82bafc0d7c1ffe5b9b9273106843">Timeout</a> (TimeSpan timeout)</td></tr>
<tr class="memdesc:ae13a82bafc0d7c1ffe5b9b9273106843"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the time for how long a job is exclusively assigned for this worker.  <a href="../../d2/d59/interfaceZeebe_1_1Client_1_1Api_1_1Worker_1_1IJobWorkerBuilderStep3.html#ae13a82bafc0d7c1ffe5b9b9273106843">More...</a><br /></td></tr>
<tr class="separator:ae13a82bafc0d7c1ffe5b9b9273106843"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aea7602ab97985620a6d8c2454e41ff3e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d2/d59/interfaceZeebe_1_1Client_1_1Api_1_1Worker_1_1IJobWorkerBuilderStep3.html">IJobWorkerBuilderStep3</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d59/interfaceZeebe_1_1Client_1_1Api_1_1Worker_1_1IJobWorkerBuilderStep3.html#aea7602ab97985620a6d8c2454e41ff3e">Name</a> (string workerName)</td></tr>
<tr class="memdesc:aea7602ab97985620a6d8c2454e41ff3e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the name of the worker owner.  <a href="../../d2/d59/interfaceZeebe_1_1Client_1_1Api_1_1Worker_1_1IJobWorkerBuilderStep3.html#aea7602ab97985620a6d8c2454e41ff3e">More...</a><br /></td></tr>
<tr class="separator:aea7602ab97985620a6d8c2454e41ff3e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af71bd628edb5821bd8938a7b273b6426"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d2/d59/interfaceZeebe_1_1Client_1_1Api_1_1Worker_1_1IJobWorkerBuilderStep3.html">IJobWorkerBuilderStep3</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d59/interfaceZeebe_1_1Client_1_1Api_1_1Worker_1_1IJobWorkerBuilderStep3.html#af71bd628edb5821bd8938a7b273b6426">MaxJobsActive</a> (int maxJobsActive)</td></tr>
<tr class="memdesc:af71bd628edb5821bd8938a7b273b6426"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the maximum number of jobs which will be exclusively activated for this worker at the same time.  <a href="../../d2/d59/interfaceZeebe_1_1Client_1_1Api_1_1Worker_1_1IJobWorkerBuilderStep3.html#af71bd628edb5821bd8938a7b273b6426">More...</a><br /></td></tr>
<tr class="separator:af71bd628edb5821bd8938a7b273b6426"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4fc6453b1f3c5f4a743829fb3fa26cec"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d2/d59/interfaceZeebe_1_1Client_1_1Api_1_1Worker_1_1IJobWorkerBuilderStep3.html">IJobWorkerBuilderStep3</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d59/interfaceZeebe_1_1Client_1_1Api_1_1Worker_1_1IJobWorkerBuilderStep3.html#a4fc6453b1f3c5f4a743829fb3fa26cec">FetchVariables</a> (IList&lt; string &gt; fetchVariables)</td></tr>
<tr class="memdesc:a4fc6453b1f3c5f4a743829fb3fa26cec"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set a list of variable names which should be fetch on job activation.  <a href="../../d2/d59/interfaceZeebe_1_1Client_1_1Api_1_1Worker_1_1IJobWorkerBuilderStep3.html#a4fc6453b1f3c5f4a743829fb3fa26cec">More...</a><br /></td></tr>
<tr class="separator:a4fc6453b1f3c5f4a743829fb3fa26cec"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a71000a7612f5c8a54b3e01e997897218"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d2/d59/interfaceZeebe_1_1Client_1_1Api_1_1Worker_1_1IJobWorkerBuilderStep3.html">IJobWorkerBuilderStep3</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d59/interfaceZeebe_1_1Client_1_1Api_1_1Worker_1_1IJobWorkerBuilderStep3.html#a71000a7612f5c8a54b3e01e997897218">FetchVariables</a> (params string[] fetchVariables)</td></tr>
<tr class="memdesc:a71000a7612f5c8a54b3e01e997897218"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set a list of variable names which should be fetch on job activation.  <a href="../../d2/d59/interfaceZeebe_1_1Client_1_1Api_1_1Worker_1_1IJobWorkerBuilderStep3.html#a71000a7612f5c8a54b3e01e997897218">More...</a><br /></td></tr>
<tr class="separator:a71000a7612f5c8a54b3e01e997897218"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0bd0858260a6ec4d2397b0ff97645825"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d2/d59/interfaceZeebe_1_1Client_1_1Api_1_1Worker_1_1IJobWorkerBuilderStep3.html">IJobWorkerBuilderStep3</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d59/interfaceZeebe_1_1Client_1_1Api_1_1Worker_1_1IJobWorkerBuilderStep3.html#a0bd0858260a6ec4d2397b0ff97645825">PollInterval</a> (TimeSpan pollInterval)</td></tr>
<tr class="memdesc:a0bd0858260a6ec4d2397b0ff97645825"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the maximal interval between polling for new jobs.  <a href="../../d2/d59/interfaceZeebe_1_1Client_1_1Api_1_1Worker_1_1IJobWorkerBuilderStep3.html#a0bd0858260a6ec4d2397b0ff97645825">More...</a><br /></td></tr>
<tr class="separator:a0bd0858260a6ec4d2397b0ff97645825"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a61390bdd234664eca6f2756e12192aec"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d2/d59/interfaceZeebe_1_1Client_1_1Api_1_1Worker_1_1IJobWorkerBuilderStep3.html">IJobWorkerBuilderStep3</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d59/interfaceZeebe_1_1Client_1_1Api_1_1Worker_1_1IJobWorkerBuilderStep3.html#a61390bdd234664eca6f2756e12192aec">PollingTimeout</a> (TimeSpan pollingTimeout)</td></tr>
<tr class="memdesc:a61390bdd234664eca6f2756e12192aec"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the polling timeout for the job activation.  <a href="../../d2/d59/interfaceZeebe_1_1Client_1_1Api_1_1Worker_1_1IJobWorkerBuilderStep3.html#a61390bdd234664eca6f2756e12192aec">More...</a><br /></td></tr>
<tr class="separator:a61390bdd234664eca6f2756e12192aec"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab5b0887bb1bb8afd2d1259b5c690205a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d2/d59/interfaceZeebe_1_1Client_1_1Api_1_1Worker_1_1IJobWorkerBuilderStep3.html">IJobWorkerBuilderStep3</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d59/interfaceZeebe_1_1Client_1_1Api_1_1Worker_1_1IJobWorkerBuilderStep3.html#ab5b0887bb1bb8afd2d1259b5c690205a">AutoCompletion</a> ()</td></tr>
<tr class="memdesc:ab5b0887bb1bb8afd2d1259b5c690205a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enables job worker auto completion.  <a href="../../d2/d59/interfaceZeebe_1_1Client_1_1Api_1_1Worker_1_1IJobWorkerBuilderStep3.html#ab5b0887bb1bb8afd2d1259b5c690205a">More...</a><br /></td></tr>
<tr class="separator:ab5b0887bb1bb8afd2d1259b5c690205a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab3049749211dc9ee4b145c02e99952f8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d1/dfe/interfaceZeebe_1_1Client_1_1Api_1_1Worker_1_1IJobWorker.html">IJobWorker</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d59/interfaceZeebe_1_1Client_1_1Api_1_1Worker_1_1IJobWorkerBuilderStep3.html#ab3049749211dc9ee4b145c02e99952f8">Open</a> ()</td></tr>
<tr class="memdesc:ab3049749211dc9ee4b145c02e99952f8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Open the worker and start to work on available tasks.  <a href="../../d2/d59/interfaceZeebe_1_1Client_1_1Api_1_1Worker_1_1IJobWorkerBuilderStep3.html#ab3049749211dc9ee4b145c02e99952f8">More...</a><br /></td></tr>
<tr class="separator:ab3049749211dc9ee4b145c02e99952f8"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="ab5b0887bb1bb8afd2d1259b5c690205a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab5b0887bb1bb8afd2d1259b5c690205a">&#9670;&nbsp;</a></span>AutoCompletion()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d2/d59/interfaceZeebe_1_1Client_1_1Api_1_1Worker_1_1IJobWorkerBuilderStep3.html">IJobWorkerBuilderStep3</a> Zeebe.Client.Api.Worker.IJobWorkerBuilderStep3.AutoCompletion </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Enables job worker auto completion. </p>
<p>This means if the user does not complete or fails the activated job by himself then the worker will do it. </p>
<dl class="section return"><dt>Returns</dt><dd>the builder for this worker</dd></dl>

</div>
</div>
<a id="a4fc6453b1f3c5f4a743829fb3fa26cec"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4fc6453b1f3c5f4a743829fb3fa26cec">&#9670;&nbsp;</a></span>FetchVariables() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d2/d59/interfaceZeebe_1_1Client_1_1Api_1_1Worker_1_1IJobWorkerBuilderStep3.html">IJobWorkerBuilderStep3</a> Zeebe.Client.Api.Worker.IJobWorkerBuilderStep3.FetchVariables </td>
          <td>(</td>
          <td class="paramtype">IList&lt; string &gt;&#160;</td>
          <td class="paramname"><em>fetchVariables</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set a list of variable names which should be fetch on job activation. </p>
<p>The jobs which are activated by this command will only contain variables from this list. </p>
<p>This can be used to limit the number of variables of the activated jobs. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">fetchVariables</td><td>list of variables names to fetch on activation</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the builder for this worker</dd></dl>

</div>
</div>
<a id="a71000a7612f5c8a54b3e01e997897218"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a71000a7612f5c8a54b3e01e997897218">&#9670;&nbsp;</a></span>FetchVariables() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d2/d59/interfaceZeebe_1_1Client_1_1Api_1_1Worker_1_1IJobWorkerBuilderStep3.html">IJobWorkerBuilderStep3</a> Zeebe.Client.Api.Worker.IJobWorkerBuilderStep3.FetchVariables </td>
          <td>(</td>
          <td class="paramtype">params string[]&#160;</td>
          <td class="paramname"><em>fetchVariables</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set a list of variable names which should be fetch on job activation. </p>
<p>The jobs which are activated by this command will only contain variables from this list. </p>
<p>This can be used to limit the number of variables of the activated jobs. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">fetchVariables</td><td>list of variables names to fetch on activation</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the builder for this worker</dd></dl>

</div>
</div>
<a id="af71bd628edb5821bd8938a7b273b6426"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af71bd628edb5821bd8938a7b273b6426">&#9670;&nbsp;</a></span>MaxJobsActive()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d2/d59/interfaceZeebe_1_1Client_1_1Api_1_1Worker_1_1IJobWorkerBuilderStep3.html">IJobWorkerBuilderStep3</a> Zeebe.Client.Api.Worker.IJobWorkerBuilderStep3.MaxJobsActive </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>maxJobsActive</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the maximum number of jobs which will be exclusively activated for this worker at the same time. </p>
<p>This is used to control the back pressure of the worker. When the maximum is reached then the worker will stop activating new jobs in order to not overwhelm the client and give other workers the chance to work on the jobs. The worker will try to activate new jobs again when jobs are completed (or marked as failed). </p>
<p>Considerations:</p>
<ol>
<li>
A greater value can avoid situations in which the client waits idle for the broker to provide more jobs. This can improve the worker's throughput.  </li>
<li>
The memory used by the worker is linear with respect to this value.  </li>
<li>
<p class="startli">The job's timeout starts to run down as soon as the broker pushes the job. Keep in mind that the following must hold to ensure fluent job handling: </p>
<div class="fragment"><div class="line">time spent in buffer + time job handler needs until job completion &lt; job timeout</div>
</div><!-- fragment --> </li>
</ol>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">maxJobsActive</td><td>the maximum jobs active by this worker</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the builder for this worker</dd></dl>

</div>
</div>
<a id="aea7602ab97985620a6d8c2454e41ff3e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aea7602ab97985620a6d8c2454e41ff3e">&#9670;&nbsp;</a></span>Name()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d2/d59/interfaceZeebe_1_1Client_1_1Api_1_1Worker_1_1IJobWorkerBuilderStep3.html">IJobWorkerBuilderStep3</a> Zeebe.Client.Api.Worker.IJobWorkerBuilderStep3.Name </td>
          <td>(</td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>workerName</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the name of the worker owner. </p>
<p>This name is used to identify the worker to which a job is exclusively assigned to. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">workerName</td><td>the name of the worker (e.g. "payment-service")</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the builder for this worker</dd></dl>

</div>
</div>
<a id="ab3049749211dc9ee4b145c02e99952f8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab3049749211dc9ee4b145c02e99952f8">&#9670;&nbsp;</a></span>Open()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d1/dfe/interfaceZeebe_1_1Client_1_1Api_1_1Worker_1_1IJobWorker.html">IJobWorker</a> Zeebe.Client.Api.Worker.IJobWorkerBuilderStep3.Open </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Open the worker and start to work on available tasks. </p>
<dl class="section return"><dt>Returns</dt><dd>the worker</dd></dl>

</div>
</div>
<a id="a61390bdd234664eca6f2756e12192aec"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a61390bdd234664eca6f2756e12192aec">&#9670;&nbsp;</a></span>PollingTimeout()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d2/d59/interfaceZeebe_1_1Client_1_1Api_1_1Worker_1_1IJobWorkerBuilderStep3.html">IJobWorkerBuilderStep3</a> Zeebe.Client.Api.Worker.IJobWorkerBuilderStep3.PollingTimeout </td>
          <td>(</td>
          <td class="paramtype">TimeSpan&#160;</td>
          <td class="paramname"><em>pollingTimeout</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the polling timeout for the job activation. </p>
<p>The activate jobs request will be completed when at least one job is activated or after the given requestTimeout. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">pollingTimeout</td><td>the polling timeout (e.g. "TimeSpan.FromMinutes(10)") </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the builder for this worker</dd></dl>

</div>
</div>
<a id="a0bd0858260a6ec4d2397b0ff97645825"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0bd0858260a6ec4d2397b0ff97645825">&#9670;&nbsp;</a></span>PollInterval()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d2/d59/interfaceZeebe_1_1Client_1_1Api_1_1Worker_1_1IJobWorkerBuilderStep3.html">IJobWorkerBuilderStep3</a> Zeebe.Client.Api.Worker.IJobWorkerBuilderStep3.PollInterval </td>
          <td>(</td>
          <td class="paramtype">TimeSpan&#160;</td>
          <td class="paramname"><em>pollInterval</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the maximal interval between polling for new jobs. </p>
<p>A job worker will automatically try to always activate new jobs after completing jobs. If no jobs can be activated after completing the worker will periodically poll for new jobs. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">pollInterval</td><td>the maximal interval to check for new jobs</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the builder for this worker</dd></dl>

</div>
</div>
<a id="ae13a82bafc0d7c1ffe5b9b9273106843"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae13a82bafc0d7c1ffe5b9b9273106843">&#9670;&nbsp;</a></span>Timeout()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d2/d59/interfaceZeebe_1_1Client_1_1Api_1_1Worker_1_1IJobWorkerBuilderStep3.html">IJobWorkerBuilderStep3</a> Zeebe.Client.Api.Worker.IJobWorkerBuilderStep3.Timeout </td>
          <td>(</td>
          <td class="paramtype">TimeSpan&#160;</td>
          <td class="paramname"><em>timeout</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the time for how long a job is exclusively assigned for this worker. </p>
<p>In this time, the job can not be assigned by other workers to ensure that only one worker work on the job. When the time is over then the job can be assigned again by this or other worker if it's not completed yet. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">timeout</td><td>the time as time span (e.g. "TimeSpan.FromMinutes(10)")</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the builder for this worker</dd></dl>

</div>
</div>
<hr/>The documentation for this interface was generated from the following file:<ul>
<li>Client/Api/Worker/IJobWorkerBuilderStep1.cs</li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="../../d6/d18/namespaceZeebe.html">Zeebe</a></li><li class="navelem"><a class="el" href="../../da/d88/namespaceZeebe_1_1Client.html">Client</a></li><li class="navelem"><a class="el" href="../../d5/df7/namespaceZeebe_1_1Client_1_1Api.html">Api</a></li><li class="navelem"><a class="el" href="../../db/d2d/namespaceZeebe_1_1Client_1_1Api_1_1Worker.html">Worker</a></li><li class="navelem"><a class="el" href="../../d2/d59/interfaceZeebe_1_1Client_1_1Api_1_1Worker_1_1IJobWorkerBuilderStep3.html">IJobWorkerBuilderStep3</a></li>
    <li class="footer">Generated on Tue Jan 28 2020 21:49:16 for Zeebe C# Client by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="../../doxygen.png" alt="doxygen"/></a> 1.8.17 </li>
  </ul>
</div>
</body>
</html>
